DevJourney

Python/RegEx/String's Each Word/String's Each Word.py

import re

s = str(input("Enter statement: "))
res = re.findall(r'\w+',s)
print(res)
View on GitHub